package com.jxs.android.ges;

import java.lang.ref.WeakReference;

import android.app.Activity;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.TextView;

public class WorkLogDetailManager {
	static public interface UI {
		static public class ViewHolder {
			TextView staff_name;// 工号
			TextView industry_type_name;// 电话号码
			TextView create_date;// 姓名
			TextView update_date;// 分公司
		}

		static public class InitViewHolder {

			private Activity activity;
			private View view;

			public InitViewHolder(Activity activity) {
				this.activity = new WeakReference<Activity>(activity).get();
				view = LayoutInflater.from(this.activity).inflate(R.layout.bu_work_log_detail_detail_item, null);
			}

			public View getView() {
				return view;
			}

			public ViewHolder init() {
				ViewHolder viewHolder = new ViewHolder();
				viewHolder.staff_name = (TextView) view.findViewById(R.id.staff_name);// 工号
				viewHolder.industry_type_name = (TextView) view.findViewById(R.id.industry_type_name);// 工号
				viewHolder.create_date = (TextView) view.findViewById(R.id.create_date);// 姓名
				viewHolder.update_date = (TextView) view.findViewById(R.id.update_date);// 分公司
				return viewHolder;
			}
		}
	}
}
